Efficient All Path Score Computations on Grid Graphs
نویسندگان
چکیده
We study the Integer-weighted Grid All Paths Scores (IGAPS) problem, which is given a grid graph, to compute the maximum weights of paths between every pair of a vertex on the first row of the graph and a vertex on the last row of the graph. We also consider a variant of this problem, periodic IGAPS, where the input grid graph is periodic and infinite. For these problems, we consider both the general (dense) and the sparse cases. For the sparse IGAPS problem with 0-1 weights, we give an O(r log(n2/r)) time algorithm, where r is the number of (diagonal) edges of weight 1. Our result improves upon the previous O(n √ r) result by Krusche and Tiskin for this problem. For the periodic IGAPS problem we give an O(Cn2) time algorithm, where C is the maximum weight of an edge. This improves upon the previous O(C2n2) algorithm of Tiskin. We also show a reduction from periodic IGAPS to IGAPS. This reduction yields o(n2) algorithms for this problem.
منابع مشابه
On independent domination numbers of grid and toroidal grid directed graphs
A subset $S$ of vertex set $V(D)$ is an {em indpendent dominating set} of $D$ if $S$ is both an independent and a dominating set of $D$. The {em indpendent domination number}, $i(D)$ is the cardinality of the smallest independent dominating set of $D$. In this paper we calculate the independent domination number of the { em cartesian product} of two {em directed paths} $P_m$ and $P_n$ for arbi...
متن کاملHamiltonian Paths in C-shaped Grid Graphs
One of the well-known NP-complete problems in graph theory is the Hamiltonian path problem; i.e., finding a simple path in the graph such that every vertex visits exactly once [5]. The two-dimensional integer grid G is an infinite undirected graph in which vertices are all points of the plane with integer coordinates and two vertices are connected by an edge if and only if the Euclidean distanc...
متن کاملFlight Planning in Free Route Airspaces
We consider the problem of finding cheapest flight routes through free route airspaces in a 2D setting. We subdivide the airspace into regions determined by a Voronoi subdivision around the points from a weather forecast. This gives rise to a regular grid of rectangular regions (quads) with every quad having an associated vector-weight that represents the wind magnitude and direction. Finding a...
متن کاملSpanning Closed Trail and Hamiltonian Cycle in Grid Graphs
In this paper we study a trail routing and a hamiltonian cycle in a class of grid graphs, polycube and polymino. A Spanning closed trail is an eulerian subgraph containing all vertices of a given graph. For general grid graphs we prove that the problem of nding that trail is NP-complete and for a wide subclass of grid graphs, called polymino, we give an optimal algorithm if it exists. For polyc...
متن کاملThe Hamiltonian Problems on Supergrid Graphs
In this paper, we first introduce a novel class of graphs, namely supergrid. Supergrid graphs include grid graphs and triangular grid graphs as their subgraphs. The Hamiltonian cycle and path problems for grid graphs and triangular grid graphs were known to be NP-complete. However, they are unknown for supergrid graphs. The Hamiltonian cycle (path) problem on supergrid graphs can be applied to ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013